/**
 * 
 */
package com.josian.twittermining.model;

import java.util.regex.Pattern;

/**
 * @author josian
 *
 */
public class TwitterPattern {
	public static final Pattern HASHTAG = Pattern.compile("#[a-zA-Z0-9_]+");
	
	public static final Pattern USER = Pattern.compile("@[a-zA-Z0-9_]+");
	
	public static final Pattern LINK = Pattern.compile("(https?|ftp|file)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]");
	
	public static final Pattern IMAGE = Pattern.compile("http://pic.twitter.com/.+ ");
	
	public static final Pattern VIDEO = Pattern.compile("http://youtube.com/.+ ");
}
